package cn.tedu.rms.orders.mapper;

import cn.tedu.rms.orders.pojo.dto.OrdersCopyParam;
import cn.tedu.rms.orders.pojo.dto.OrdersQuery;
import cn.tedu.rms.orders.pojo.dto.OrdersSaveParam;
import cn.tedu.rms.orders.pojo.dto.OrdersQuery;
import cn.tedu.rms.orders.pojo.entity.Orders;
import cn.tedu.rms.orders.pojo.vo.OrdersVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersMapper {
    void insert(Orders orders);

    List<OrdersVO> selectOrders(OrdersQuery ordersQuery);


    void updateOrders(Orders orders);
    List<OrdersVO> selectTypeByBranchId(Long branchId);


    List<OrdersVO> selectOrdersByCondition(OrdersQuery ordersQuery);

    void updateOrder(Orders orders);
    void insertOrdersCopy(Orders orders);
}
